package flst.ipiweb.common;

import java.util.Random;

public class Paiement {

	private int id;
	private TypePaiement typePaiement;
	private boolean commandPaid;

	public Paiement() {
		Random r = new Random();
		this.setId(r.nextInt(Integer.MAX_VALUE));
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public TypePaiement getTypePaiement() {
		return typePaiement;
	}

	public void setTypePaiement(TypePaiement typePaiement) {
		this.typePaiement = typePaiement;
	}

	public boolean isCommandPaid() {
		return commandPaid;
	}

	public void setCommandPaid(boolean commandPaid) {
		this.commandPaid = commandPaid;
	}

}
